/**
 * Created by user on 17/2/17.
 */
exports.getUser = async function(ctx) {
    let user_id = ctx.params.id;
    ctx.session.user_id = user_id;
    ctx.JsonResponse.success({user_id: user_id});
};


exports.my = async function(ctx) {
    ctx.JsonResponse.success({user_id: ctx.authUser.uid, nick: ctx.authUser.nick});
};
